package com.freeman.cement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freeman.cement.entity.CameraSquare;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CameraSquareDao extends BaseMapper<CameraSquare> {
    //获取九宫格信息
    CameraSquare getCameraSquareByCameraIndexCode(@Param("cameraIndexCode") String cameraIndexCode);
    int updateCameraSquare(CameraSquare cameraSquare);
    int addCameraSquare(CameraSquare cameraSquare);
    int deleteCameraSquare(@Param("id") String id);
}
